﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{
    [XmlRoot("MESSAGE")]
    public sealed class SpacerCarrierChangeMessage : BaseTibcoMessage<SpacerCarrierChangeMessageBody>
    {
        public SpacerCarrierChangeMessage()
        {

        }

        public SpacerCarrierChangeMessage(SpacerCarrierChangeMessageBody body = null, string inboxName = "", string listener = "")
            : base("SpacerCarrierChangeRequest", body, inboxName, listener)
        {
        }
    }

    public sealed class SpacerCarrierChangeMessageBody
    {
        public SpacerCarrierChangeMessageBody()
        {

        }

        public string MACHINENAME { get; set; }
        public string CARRIERNAME { get; set; }
        public string SPACERQUANTITY { get; set; }
        public string SETTINGCODE { get; set; }
        public string EVENTUSER { get; set; }
        public string EVENTCOMMMENT { get; set; }
    }
}
